home *** CD-ROM | disk | FTP | other *** search
/ Tux Racer / Tux Racer.iso / program files / Sunspire Studios / Tux Racer / courses / forest / objects.tcl < prev    next >
Encoding:
Text File  |  2001-12-16  |  11.9 KB  |  342 lines

  1. objcreate {s_model_obj} {:models:tree_bent} \
  2.     {-filename} {tree_bent.obj.strip} \
  3.     {-backface_culling} {0}
  4.     
  5. objcreate {s_model_obj} {:models:tree_barren} \
  6.     {-filename} {tree_barren.obj.strip} \
  7.     {-backface_culling} {0}
  8.     
  9. objcreate {s_model_obj} {:models:tree_full} \
  10.     {-filename} {tree_full.obj.strip} \
  11.     {-backface_culling} {0}
  12.     
  13. objcreate {s_model_obj} {:models:gondola} \
  14.     {-filename} {gondola.obj.strip}
  15.     
  16. objcreate {s_model_obj} {:models:gondola_pole} \
  17.     {-filename} {gondola_pole.obj.strip}
  18.     
  19. objcreate {s_model_obj} {:models:gondola_wire} \
  20.     {-filename} {gondola_wire.obj.strip}
  21.     
  22. objcreate {s_model_obj} {:models:log1} \
  23.     {-filename} {log1.obj.strip}
  24.     
  25. objcreate {s_model_obj} {:models:log2} \
  26.     {-filename} {log2_fallen.obj.strip} \
  27.     {-backface_culling} {0}
  28.     
  29. objcreate {s_model_obj} {:models:stump} \
  30.     {-filename} {stump.obj.strip}
  31.     
  32. objcreate {s_model_obj} {:models:stump2} \
  33.     {-filename} {log2_stump.obj.strip}
  34.     
  35. objcreate {s_model_obj} {:models:log_rolling_short} \
  36.     {-filename} {log_rolling_short.obj.strip}
  37.     
  38. objcreate {s_model_obj} {:models:log_rolling_long} \
  39.     {-filename} {log_rolling_long.obj.strip}
  40.     
  41. objcreate {s_model_obj} {:models:log_rolling_hole} \
  42.     {-filename} {log_rolling_hole.obj.strip}
  43.     
  44. objcreate {s_model_obj} {:models:log_stack} \
  45.     {-filename} {log_stack.obj.strip}
  46.     
  47. objcreate {s_model_obj} {:models:house_sawmill} \
  48.     {-filename} {house_sawmill.obj.strip}
  49.     
  50. objcreate {s_model_obj} {:models:house_sawmill_wheel} \
  51.     {-filename} {house_sawmill_wheel.obj.strip}
  52.  
  53. objcreate {s_model_obj} {:models:bridge} \
  54.     {-filename} {bridge.obj.strip}
  55.  
  56. # ----- End output of [objserialize :models]
  57.  
  58.  
  59. # ----- Begin output of [objserialize :collidables]
  60.     
  61. objcreate {s_collidable_obj} {:collidables:tree_bent} \
  62.     {-model} {:models:tree_bent} \
  63.     {-collide_with_camera} {0} \
  64.     {-friction_coeff} {0.3}
  65.     
  66. objcreate {s_collidable_obj} {:collidables:log1} \
  67.     {-model} {:models:log1} \
  68.     {-friction_coeff} {0.3}
  69.     
  70. objcreate {s_collidable_obj} {:collidables:log2} \
  71.     {-model} {:models:log2} \
  72.     {-friction_coeff} {0.3}
  73.     
  74. objcreate {s_collidable_obj} {:collidables:stump} \
  75.     {-model} {:models:stump} \
  76.     {-friction_coeff} {0.3}
  77.     
  78. objcreate {s_collidable_obj} {:collidables:stump2} \
  79.     {-model} {:models:stump2} \
  80.     {-friction_coeff} {0.3}
  81.     
  82. objcreate {s_collidable_obj} {:collidables:tree_full} \
  83.     {-model} {:models:tree_full} \
  84.     {-collide_with_camera} {0} \
  85.     {-friction_coeff} {0.3}
  86.     
  87. objcreate {s_collidable_obj} {:collidables:tree_barren} \
  88.     {-model} {:models:tree_barren} \
  89.     {-collide_with_camera} {0} \
  90.     {-friction_coeff} {0.3}
  91.     
  92. objcreate {s_collidable_obj} {:collidables:gondola} \
  93.     {-model} {:models:gondola} \
  94.     {-friction_coeff} {0.3}
  95.     
  96. objcreate {s_collidable_obj} {:collidables:gondola_pole} \
  97.     {-model} {:models:gondola_pole} \
  98.     {-friction_coeff} {0.3}
  99.     
  100. objcreate {s_collidable_obj} {:collidables:gondola_wire} \
  101.     {-model} {:models:gondola_wire} \
  102.     {-friction_coeff} {0.3}
  103.     
  104. objcreate {s_collidable_obj} {:collidables:log_rolling_short} \
  105.     {-model} {:models:log_rolling_short} \
  106.     {-friction_coeff} {0.3}
  107.     
  108. objcreate {s_collidable_obj} {:collidables:log_rolling_long} \
  109.     {-model} {:models:log_rolling_long} \
  110.     {-friction_coeff} {0.3}
  111.     
  112. objcreate {s_collidable_obj} {:collidables:log_rolling_hole} \
  113.     {-model} {:models:log_rolling_hole} \
  114.     {-friction_coeff} {0.3}
  115.     
  116. objcreate {s_collidable_obj} {:collidables:log_stack} \
  117.     {-model} {:models:log_stack} \
  118.     {-friction_coeff} {0.3}
  119.     
  120. objcreate {s_collidable_obj} {:collidables:house_sawmill} \
  121.     {-model} {:models:house_sawmill} \
  122.     {-friction_coeff} {0.3}
  123.     
  124. objcreate {s_collidable_obj} {:collidables:house_sawmill_wheel} \
  125.     {-model} {:models:house_sawmill_wheel} \
  126.     {-friction_coeff} {0.3}
  127.  
  128. objcreate {s_collidable_obj} {:collidables:bridge} \
  129.     {-model} {:models:bridge} \
  130.     {-friction_coeff} {0.35}
  131.  
  132. objcreate {s_collidable_obj} {:collidables:treebillboardtiny} \
  133.     {-model} {:models:treebillboardtiny} \
  134.     {-collide_with_camera} {0} \
  135.     {-friction_coeff} {0.35}
  136.     
  137. # ----- End output of [objserialize :collidables]
  138.  
  139. # ----- Begin output of [objserialize :objects]
  140.     
  141. objcreate {s_object3d} {:objects:tree_bent} \
  142.     {-drawable_model} {:models:tree_bent} \
  143.     {-texture} {:textures:object:tree_bent} \
  144.     {-collidable_object} {:collidables:tree_bent} \
  145.     -lowres_distance 100.0 \
  146.     -lowres_model :models:treebillboardtiny \
  147.     -lowres_texture :textures:object:treebillboardf \
  148.     {-collision_response_list} {:collision_responses:physics :collision_responses:tree_hit_sound} \
  149.     {-size_variance} {0.4}
  150.     
  151. objcreate {s_object3d} {:objects:tree} \
  152.     {-drawable_model} {:models:tree} \
  153.     {-texture} {:textures:object:tree} \
  154.     -lowres_distance 100.0 \
  155.     -lowres_model :models:treebillboardsmall \
  156.     -lowres_texture :textures:object:treebillboardf \
  157.     {-collidable_object} {:collidables:tree} \
  158.     {-collision_response_list} {:collision_responses:physics :collision_responses:tree_hit_sound} \
  159.     {-size_variance} {0.5}
  160.     
  161. objcreate {s_object3d} {:objects:log1} \
  162.     {-drawable_model} {:models:log1} \
  163.     {-texture} {:textures:object:log} \
  164.     {-collidable_object} {:collidables:log1} \
  165.     {-collision_response_list} {:collision_responses:physics :collision_responses:wood_hit_sound}
  166.     
  167. objcreate {s_object3d} {:objects:log2} \
  168.     {-drawable_model} {:models:log2} \
  169.     {-texture} {:textures:object:log_fallen} \
  170.     {-collidable_object} {:collidables:log2} \
  171.     {-collision_response_list} {:collision_responses:physics :collision_responses:wood_hit_sound}
  172.     
  173. objcreate {s_object3d} {:objects:stump} \
  174.     {-drawable_model} {:models:stump} \
  175.     {-texture} {:textures:object:stump} \
  176.     {-collidable_object} {:collidables:stump} \
  177.     {-collision_response_list} {:collision_responses:physics :collision_responses:wood_hit_sound}
  178.     
  179. objcreate {s_object3d} {:objects:stump2} \
  180.     {-drawable_model} {:models:stump2} \
  181.     {-texture} {:textures:object:log_stump} \
  182.     {-collidable_object} {:collidables:stump2} \
  183.     {-collision_response_list} {:collision_responses:physics :collision_responses:wood_hit_sound}
  184.     
  185. objcreate {s_object3d} {:objects:tree_barren} \
  186.     {-drawable_model} {:models:tree_barren} \
  187.     {-texture} {:textures:object:tree_barren} \
  188.     {-collidable_object} {:collidables:tree_barren} \
  189.     -lowres_distance 100.0 \
  190.     -lowres_model :models:treebillboardsmall \
  191.     -lowres_texture :textures:object:treebillboardf \
  192.     {-collision_response_list} {:collision_responses:physics :collision_responses:tree_hit_sound} \
  193.     {-size_variance} {0.1}
  194.     
  195. objcreate {s_object3d} {:objects:tree_full} \
  196.     {-drawable_model} {:models:tree_full} \
  197.     {-texture} {:textures:object:tree_full} \
  198.     {-collidable_object} {:collidables:tree_full} \
  199.     -lowres_distance 100.0 \
  200.     -lowres_model :models:treebillboardsmall \
  201.     -lowres_texture :textures:object:treebillboardf \
  202.     {-collision_response_list} {:collision_responses:physics :collision_responses:tree_hit_sound} \
  203.     {-size_variance} {0.1}
  204.  
  205.     
  206. objcreate {s_object3d} {:objects:gondola} \
  207.     {-drawable_model} {:models:gondola} \
  208.     {-texture} {:textures:object:gondola} \
  209.     {-collidable_object} {:collidables:gondola} \
  210.     {-collision_response_list} {:collision_responses:physics :collision_responses:rock_hit_sound} 
  211.  
  212. objcreate {s_object3d} {:objects:gondola_pole} \
  213.     {-drawable_model} {:models:gondola_pole} \
  214.     {-texture} {:textures:object:gondola_pole} \
  215.     {-collidable_object} {:collidables:gondola_pole} \
  216.     {-collision_response_list} {:collision_responses:physics :collision_responses:rock_hit_sound} 
  217.  
  218. objcreate {s_object3d} {:objects:gondola_wire} \
  219.     {-drawable_model} {:models:gondola_wire} \
  220.     {-texture} {:textures:object:gondola_pole} \
  221.     {-collidable_object} {:collidables:gondola_wire} \
  222.     {-collision_response_list} {:collision_responses:physics :collision_responses:rock_hit_sound}
  223.  
  224. objcreate {s_object3d} {:objects:log_rolling_long} \
  225.     {-drawable_model} {:models:log_rolling_long} \
  226.     {-texture} {:textures:object:log_rolling_long} \
  227.     {-collidable_object} {:collidables:log_rolling_long} \
  228.     {-collision_response_list} {:collision_responses:physics :collision_responses:wood_hit_sound}
  229.  
  230. objcreate {s_object3d} {:objects:log_rolling_hole} \
  231.     {-drawable_model} {:models:log_rolling_hole} \
  232.     {-texture} {:textures:object:log_rolling_hole} \
  233.     {-collidable_object} {:collidables:log_rolling_hole} \
  234.     {-collision_response_list} {:collision_responses:physics :collision_responses:wood_hit_sound}
  235.  
  236. objcreate {s_object3d} {:objects:log_stack} \
  237.     {-drawable_model} {:models:log_stack} \
  238.     {-texture} {:textures:object:log_stack} \
  239.     {-collidable_object} {:collidables:log_stack} \
  240.     {-collision_response_list} {:collision_responses:physics :collision_responses:wood_hit_sound}
  241.  
  242. objcreate {s_object3d} {:objects:log_rolling_short} \
  243.     {-drawable_model} {:models:log_rolling_short} \
  244.     {-texture} {:textures:object:log_rolling_short} \
  245.     {-collidable_object} {:collidables:log_rolling_short} \
  246.     {-collision_response_list} {:collision_responses:physics :collision_responses:wood_hit_sound}
  247.  
  248. objcreate {s_object3d} {:objects:house_sawmill} \
  249.     {-drawable_model} {:models:house_sawmill} \
  250.     {-texture} {:textures:object:house_sawmill} \
  251.     {-collidable_object} {:collidables:house_sawmill} \
  252.     {-collision_response_list} {:collision_responses:physics :collision_responses:wood_hit_sound}
  253.  
  254. objcreate {s_object3d} {:objects:house_sawmill_wheel} \
  255.     {-drawable_model} {:models:house_sawmill_wheel} \
  256.     {-texture} {:textures:object:house_sawmill} \
  257.     {-collidable_object} {:collidables:house_sawmill_wheel} \
  258.     {-collision_response_list} {:collision_responses:physics :collision_responses:wood_hit_sound}
  259.  
  260. objcreate {s_object3d} {:objects:bridge} \
  261.     {-drawable_model} {:models:bridge} \
  262.     {-texture} {:textures:object:bridge} \
  263.     {-collidable_object} {:collidables:bridge} \
  264.     {-collision_response_list} {:collision_responses:physics :collision_responses:rock_hit_sound}
  265.  
  266. objcreate {s_object3d} {:objects:snd_sawmill} \
  267.     {-drawable_model} {:models:billboard} \
  268.     {-texture} {:textures:object:speaker} \
  269.     -billboard 1 \
  270.     -sound_emitter 1 \
  271.     -sound_action :actions:sounds:sawmill \
  272.     -scale {4 4 4}
  273.  
  274. objcreate {s_object3d} {:objects:snd_saw} \
  275.     {-drawable_model} {:models:billboard} \
  276.     {-texture} {:textures:object:speaker} \
  277.     -billboard 1 \
  278.     -sound_emitter 1 \
  279.     -sound_action :actions:sounds:saw \
  280.     -scale {4 4 4}
  281.  
  282. objcreate {s_object3d} {:objects:snd_tree_creaking} \
  283.     {-drawable_model} {:models:billboard} \
  284.     {-texture} {:textures:object:speaker} \
  285.     -billboard 1 \
  286.     -height 5 \
  287.     -sound_emitter 1 \
  288.     -sound_action :actions:sounds:tree_creaking \
  289.     -sound_delay 8 \
  290.     -sound_delay_variance 6 \
  291.     -sound_pos_variance {15 5 15} \
  292.     -scale {4 4 4}
  293.  
  294. objcreate {s_object3d} {:objects:snd_wind_in_branches} \
  295.     {-drawable_model} {:models:billboard} \
  296.     {-texture} {:textures:object:speaker} \
  297.     -billboard 1 \
  298.     -height 5 \
  299.     -sound_emitter 1 \
  300.     -sound_action :actions:sounds:wind_in_branches \
  301.     -scale {4 4 4}
  302.  
  303. objcreate {s_object3d} {:objects:snd_truck} \
  304.     {-drawable_model} {:models:billboard} \
  305.     {-texture} {:textures:object:speaker} \
  306.     -billboard 1 \
  307.     -height 3 \
  308.     -sound_emitter 1 \
  309.     -sound_action :actions:sounds:truck \
  310.     -scale {4 4 4}
  311.  
  312. objcreate {s_object3d} {:objects:snd_tree_falling} \
  313.     {-drawable_model} {:models:billboard} \
  314.     {-texture} {:textures:object:speaker} \
  315.     -billboard 1 \
  316.     -height 5 \
  317.     -sound_emitter 1 \
  318.     -sound_action :actions:sounds:tree_falling \
  319.     -sound_delay 10.269 \
  320.  
  321. objcreate {s_object3d} {:objects:snd_rolling_log} \
  322.     {-drawable_model} {:models:billboard} \
  323.     {-texture} {:textures:object:speaker} \
  324.     -billboard 1 \
  325.     -height 5 \
  326.     -sound_emitter 1 \
  327.     -sound_action :actions:sounds:rolling_log
  328.  
  329. # ----- End output of [objserialize :objects]
  330. # ----- Begin output of [objserialize :palette]
  331. objcreate {s_object3d_palette} {:palette} \
  332.     {-mappings} {\
  333.     {(255, 128, 255) => :objects:reset} \
  334.     {(200, 200, 200) => :objects:tree} \
  335.     {(255, 255, 255) => :objects:tree_full} \
  336.     {(155, 155, 155) => :objects:tree_bent} \
  337.     {(55, 55, 55) => :objects:tree_barren} \
  338.     {(194,  40,  40) => :objects:flag} \
  339.     {( 28, 185, 204) => :objects:herring} \
  340.     }
  341. # ----- End output of [objserialize :palette]
  342.